﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>UploadFile</title>
    <link href="../../Scripts/uploadify-v3.1/uploadify.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>

    <script src="../../Scripts/uploadify-v3.1/jquery.uploadify-3.1.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function() {
            $('#file_upload').uploadify({
                'buttonText': '请选择上传文件',
                'swf': '../../Scripts/uploadify-v3.1/uploadify.swf',
                'uploader': '/WebStore/UploadFile?user_id=22&folder_id=0'
            });
        });
    </script>

</head>
<body>
    <div>
        <input type="file" id="file_upload" name="file_upload" />
    </div>
</body>
</html>
